import request from "../request.js";

import {
	getMessageUrl,
	getRegisterUrl
} from '../urls.js'

export default {
	getMessage(username) {
		return request({
			url: getMessageUrl,
			method: 'POST',
			data: {
				username,
			}
		})
	},

	registerUser(data) {
		return request({
			url: getRegisterUrl,
			method: 'POST',
			data
		})
	}
}
